package com.ruoyi.stock.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 每日股票信息对象 qw_stockdayinfo
 * 
 * @author ruoyi
 * @date 2023-08-16
 */
public class QwStockdayinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long dayInfoId;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 股票ID */
    @Excel(name = "股票ID")
    private Long stockId;

    /** 股票代码 */
    @Excel(name = "股票代码")
    private String stockCode;

    /** 开盘价 */
    @Excel(name = "开盘价")
    private BigDecimal open;

    /** 最高价 */
    @Excel(name = "最高价")
    private BigDecimal high;

    /** 最低价 */
    @Excel(name = "最低价")
    private BigDecimal low;

    /** 收盘价 */
    @Excel(name = "收盘价")
    private BigDecimal close;

    /** 前收盘价 */
    @Excel(name = "前收盘价")
    private BigDecimal preClose;

    /** 成交量 */
    @Excel(name = "成交量")
    private Long volume;

    /** 成交金额 */
    @Excel(name = "成交金额")
    private Long amount;

    /** 5日移动平均线 */
    @Excel(name = "5日移动平均线")
    private BigDecimal ma5;

    /** 10日移动平均线 */
    @Excel(name = "10日移动平均线")
    private BigDecimal ma10;

    /** 20日移动平均线 */
    @Excel(name = "20日移动平均线")
    private BigDecimal ma20;

    /** 30日移动平均线 */
    @Excel(name = "30日移动平均线")
    private BigDecimal ma30;

    /** 60日移动平均线 */
    @Excel(name = "60日移动平均线")
    private BigDecimal ma60;

    /** 120日移动平均线 */
    @Excel(name = "120日移动平均线")
    private BigDecimal ma120;

    /** 200日移动平均线 */
    @Excel(name = "200日移动平均线")
    private BigDecimal ma200;

    /** 250日移动平均线 */
    @Excel(name = "250日移动平均线")
    private BigDecimal ma250;

    /** 120日成交量均线 */
    @Excel(name = "120日成交量均线")
    private Long volume120;

    /** k指标 */
    @Excel(name = "k指标")
    private BigDecimal k;

    /** d指标 */
    @Excel(name = "d指标")
    private BigDecimal d;

    /** j指标 */
    @Excel(name = "j指标")
    private BigDecimal j;

    /** dif指标 */
    @Excel(name = "dif指标")
    private BigDecimal dif;

    /** dea指标 */
    @Excel(name = "dea指标")
    private BigDecimal dea;

    /** macd指标 */
    @Excel(name = "macd指标")
    private BigDecimal macd;

    /** rsi6指标 */
    @Excel(name = "rsi6指标")
    private BigDecimal rsi6;

    /** rsi12指标 */
    @Excel(name = "rsi12指标")
    private BigDecimal rsi12;

    /** rsi24指标 */
    @Excel(name = "rsi24指标")
    private BigDecimal rsi24;

    /** wr6指标 */
    @Excel(name = "wr6指标")
    private BigDecimal wr6;

    /** wr10指标 */
    @Excel(name = "wr10指标")
    private BigDecimal wr10;

    /** cci指标 */
    @Excel(name = "cci指标")
    private BigDecimal cci;

    public void setDayInfoId(Long dayInfoId) 
    {
        this.dayInfoId = dayInfoId;
    }

    public Long getDayInfoId() 
    {
        return dayInfoId;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setStockId(Long stockId) 
    {
        this.stockId = stockId;
    }

    public Long getStockId() 
    {
        return stockId;
    }
    public void setStockCode(String stockCode) 
    {
        this.stockCode = stockCode;
    }

    public String getStockCode() 
    {
        return stockCode;
    }
    public void setOpen(BigDecimal open) 
    {
        this.open = open;
    }

    public BigDecimal getOpen() 
    {
        return open;
    }
    public void setHigh(BigDecimal high) 
    {
        this.high = high;
    }

    public BigDecimal getHigh() 
    {
        return high;
    }
    public void setLow(BigDecimal low) 
    {
        this.low = low;
    }

    public BigDecimal getLow() 
    {
        return low;
    }
    public void setClose(BigDecimal close) 
    {
        this.close = close;
    }

    public BigDecimal getClose() 
    {
        return close;
    }
    public void setPreClose(BigDecimal preClose) 
    {
        this.preClose = preClose;
    }

    public BigDecimal getPreClose() 
    {
        return preClose;
    }
    public void setVolume(Long volume) 
    {
        this.volume = volume;
    }

    public Long getVolume() 
    {
        return volume;
    }
    public void setAmount(Long amount) 
    {
        this.amount = amount;
    }

    public Long getAmount() 
    {
        return amount;
    }
    public void setMa5(BigDecimal ma5) 
    {
        this.ma5 = ma5;
    }

    public BigDecimal getMa5() 
    {
        return ma5;
    }
    public void setMa10(BigDecimal ma10) 
    {
        this.ma10 = ma10;
    }

    public BigDecimal getMa10() 
    {
        return ma10;
    }
    public void setMa20(BigDecimal ma20) 
    {
        this.ma20 = ma20;
    }

    public BigDecimal getMa20() 
    {
        return ma20;
    }
    public void setMa30(BigDecimal ma30) 
    {
        this.ma30 = ma30;
    }

    public BigDecimal getMa30() 
    {
        return ma30;
    }
    public void setMa60(BigDecimal ma60) 
    {
        this.ma60 = ma60;
    }

    public BigDecimal getMa60() 
    {
        return ma60;
    }
    public void setMa120(BigDecimal ma120) 
    {
        this.ma120 = ma120;
    }

    public BigDecimal getMa120() 
    {
        return ma120;
    }
    public void setMa200(BigDecimal ma200) 
    {
        this.ma200 = ma200;
    }

    public BigDecimal getMa200() 
    {
        return ma200;
    }
    public void setMa250(BigDecimal ma250) 
    {
        this.ma250 = ma250;
    }

    public BigDecimal getMa250() 
    {
        return ma250;
    }
    public void setVolume120(Long volume120) 
    {
        this.volume120 = volume120;
    }

    public Long getVolume120() 
    {
        return volume120;
    }
    public void setK(BigDecimal k) 
    {
        this.k = k;
    }

    public BigDecimal getK() 
    {
        return k;
    }
    public void setD(BigDecimal d) 
    {
        this.d = d;
    }

    public BigDecimal getD() 
    {
        return d;
    }
    public void setJ(BigDecimal j) 
    {
        this.j = j;
    }

    public BigDecimal getJ() 
    {
        return j;
    }
    public void setDif(BigDecimal dif) 
    {
        this.dif = dif;
    }

    public BigDecimal getDif() 
    {
        return dif;
    }
    public void setDea(BigDecimal dea) 
    {
        this.dea = dea;
    }

    public BigDecimal getDea() 
    {
        return dea;
    }
    public void setMacd(BigDecimal macd) 
    {
        this.macd = macd;
    }

    public BigDecimal getMacd() 
    {
        return macd;
    }
    public void setRsi6(BigDecimal rsi6) 
    {
        this.rsi6 = rsi6;
    }

    public BigDecimal getRsi6() 
    {
        return rsi6;
    }
    public void setRsi12(BigDecimal rsi12) 
    {
        this.rsi12 = rsi12;
    }

    public BigDecimal getRsi12() 
    {
        return rsi12;
    }
    public void setRsi24(BigDecimal rsi24) 
    {
        this.rsi24 = rsi24;
    }

    public BigDecimal getRsi24() 
    {
        return rsi24;
    }
    public void setWr6(BigDecimal wr6) 
    {
        this.wr6 = wr6;
    }

    public BigDecimal getWr6() 
    {
        return wr6;
    }
    public void setWr10(BigDecimal wr10) 
    {
        this.wr10 = wr10;
    }

    public BigDecimal getWr10() 
    {
        return wr10;
    }
    public void setCci(BigDecimal cci) 
    {
        this.cci = cci;
    }

    public BigDecimal getCci() 
    {
        return cci;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dayInfoId", getDayInfoId())
            .append("date", getDate())
            .append("stockId", getStockId())
            .append("stockCode", getStockCode())
            .append("open", getOpen())
            .append("high", getHigh())
            .append("low", getLow())
            .append("close", getClose())
            .append("preClose", getPreClose())
            .append("volume", getVolume())
            .append("amount", getAmount())
            .append("ma5", getMa5())
            .append("ma10", getMa10())
            .append("ma20", getMa20())
            .append("ma30", getMa30())
            .append("ma60", getMa60())
            .append("ma120", getMa120())
            .append("ma200", getMa200())
            .append("ma250", getMa250())
            .append("volume120", getVolume120())
            .append("k", getK())
            .append("d", getD())
            .append("j", getJ())
            .append("dif", getDif())
            .append("dea", getDea())
            .append("macd", getMacd())
            .append("rsi6", getRsi6())
            .append("rsi12", getRsi12())
            .append("rsi24", getRsi24())
            .append("wr6", getWr6())
            .append("wr10", getWr10())
            .append("cci", getCci())
            .toString();
    }
}
